package com.wanmait.recycle.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.recycle.pojo.Comment;

public interface CommentService extends CommonService<Comment> {

	/*根据文章id查询所有评论*/
	PageInfo<Comment> findCommentByArticleId(Integer id);
	/*添加一级评论*/
	void addFirstComment(Comment comment);
	/*添加二级评论*/
    void addSecondComment(Comment comment);
	
}
